package com.woniu.supermarket.service.impl;

import com.woniu.supermarket.mapper.PurchaseReturnDetailMapper;
import com.woniu.supermarket.service.IPurchaseReturnDetailService;
import com.woniu.supermarket.vo.PurchaseReturnDetailVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class PurchaseReturnDetailServiceImpl implements IPurchaseReturnDetailService {

    @Autowired
    PurchaseReturnDetailMapper purchaseReturnDetailMapper;

    @Override
    public List<PurchaseReturnDetailVo> findByPurchaseReturnCode(String code) {
        return purchaseReturnDetailMapper.selectByPurchaseReturnCode(code);
    }
}
